#ifndef __MAIN_INTERFACE_H
#define __MAIN_INTERFACE_H

#define PLACE_GAME(x,y)        ((20<=x&&x<120)&&(340<=y&&y<440))
#define PLACE_PICTURE(x,y)     ((140<=x&&x<240)&&(340<=y&&y<440))
#define PLACE_BRUSH(x,y)       ((260<=x&&x<360)&&(340<=y&&y<440))
#define PLACE_EXIT(x,y)        ((690<=x&&x<790)&&(340<=y&&y<440))

enum MAIN_TOUCH{
    GAME_BUTTON ,
    PICTURE_BUTTON ,
    BRUSH_BUTTON ,
    MAIN_EXIT_BUTTON ,
};

void main_show(char* user);
int main_touch_icon();
int while_main_touch(char* user);

#endif